{{#extends @html/community/base.html}}

{{:title}}Члены сообщества{{/:title}}

{{:community_body}}

	{{@html/layout/layout_3_1.html column_one=@:column_one column_two=@:column_two title=@:title}}

	{{:column_one}}
	{{!connect 'decoration/users/users.css'}}
	<div class="users">
		<table class="table-files-" cellspacing="0">
			<tr class="table-head-">
				<td class="table-author-"><a href="{{sort_url_name|safe}}" title="Сортировать по имени пользователя" {{?order_by=='name'}}class="current-"{{/?}}>Имя</a> 
				{{?order_by=='name'}}
					{{@:order_arrow}}
					{{:order_arrow}}
						{{?order_direction=='asc'}}
						<img src="{{!static type='images' 'icons/arrow_up.gif'}}" class="arrow-" />
						{{?:}}
						<img src="{{!static type='images' 'icons/arrow_down.gif'}}" class="arrow-" />
						{{/?}}
					{{/:order_arrow}}
				{{/?}}
				</td>
				<td class="table-status-"><a href="{{sort_url_status|safe}}" title="Сортировть по статусу в сообществе" {{?order_by=='status'}}class="current-"{{/?}}>Статус</a>
				{{?order_by=='status'}}
					{{@:order_arrow}}
				{{/?}}
				</td>
				<td class="table-time-"><a href="{{sort_url_date|safe}}" title="Сортировать по дате регистрации" {{?order_by=='date'}}class="current-"{{/?}}>Время вступления</a>
				{{?order_by=='date'}}
					{{@:order_arrow}}
				{{/?}}
				</td>
			</tr>
			{{!for items do=@:member}}
			{{:member}}
			<tr class="table-content-">
				<td class="table-author-">
					<img src="{{?*avatar}}{{/}}{{*avatar | link_to 'imagestorage' 'sm2'}}{{?:}}{{!static type='images' 'avatar-22x22.png'}}{{/?}}" alt="" height="20" width="20" />
					<a href="{{/}}{{community.url}}/members/{{*oid}}" title="Профиль пользователя" class="service-user name-">{{*fullname}}</a>
				</td>
				<td class="table-status-">
					{{*status}}
				</td>
				<td class="table-time-">
				  <span class="date-">{{*join_date|date "%d.%m.%Y"}}</span>
				  <span class="time-">{{*join_date|date "%H:%i"}}</span>
				</td>
			</tr>
			{{/:member}}
		</table>
		{{@html/view/pager.html}}
	</div>
	{{/:column_one}}
	
	{{:column_two}}
	<!--{{@html/widget/createbtn.html}}-->
		{{column_two}}
	{{/:column_two}}
	
{{/:community_body}}
